//-----------------------------------------------------------------------
// <copyright file="ProductSellBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class ProductSellBase
	{
		
		#region Variable Declarations
		public static string _Table = "ProductSell";
		private long				productId = 0;
		private string				url = string.Empty;
		private string				title = string.Empty;
		private string				productDescription = string.Empty;
		private string				description = string.Empty;
		private DateTime				createdDate = new DateTime(1900,1,1,0,0,0,0);
		private DateTime				updatedDate = new DateTime(1900,1,1,0,0,0,0);
		private long				memberId = 0;
		private long				order = 0;
		private string				image = string.Empty;
		private string				thumbnailImage = string.Empty;
		private DateTime				endDate = new DateTime(1900,1,1,0,0,0,0);
		private long				catId = 0;
		private long				viewed = 0;
		private long				objectId = 0;
		private int				statusId = 0;
		private bool				enable = false;
		private string				activateCode = string.Empty;
		private long				countryId = 0;
		private string				minOrderQuantity = string.Empty;
		private long				minQuantityTypeId = 0;
		private string				minQuantityOther = string.Empty;
		private long				fOBPriceId = 0;
		private byte[]				priceSmall = new byte[] { 0 };
		private byte[]				priceLarge = new byte[] { 0 };
		private long				perTypeId = 0;
		private string				port = string.Empty;
		private string				paymentTerms = string.Empty;
		private string				production = string.Empty;
		private string				deliveryTime = string.Empty;
		private string				packagingDetail = string.Empty;
		#endregion
		
		#region Constructors
		public ProductSellBase() {}
		
		public ProductSellBase (
			long productId,
			string url,
			string title,
			string productDescription,
			string description,
			DateTime createdDate,
			DateTime updatedDate,
			long memberId,
			long order,
			string image,
			string thumbnailImage,
			DateTime endDate,
			long catId,
			long viewed,
			long objectId,
			int statusId,
			bool enable,
			string activateCode,
			long countryId,
			string minOrderQuantity,
			long minQuantityTypeId,
			string minQuantityOther,
			long fOBPriceId,
			byte[] priceSmall,
			byte[] priceLarge,
			long perTypeId,
			string port,
			string paymentTerms,
			string production,
			string deliveryTime,
			string packagingDetail)
		
		{
			this.productId = productId;
			this.url = url;
			this.title = title;
			this.productDescription = productDescription;
			this.description = description;
			this.createdDate = createdDate;
			this.updatedDate = updatedDate;
			this.memberId = memberId;
			this.order = order;
			this.image = image;
			this.thumbnailImage = thumbnailImage;
			this.endDate = endDate;
			this.catId = catId;
			this.viewed = viewed;
			this.objectId = objectId;
			this.statusId = statusId;
			this.enable = enable;
			this.activateCode = activateCode;
			this.countryId = countryId;
			this.minOrderQuantity = minOrderQuantity;
			this.minQuantityTypeId = minQuantityTypeId;
			this.minQuantityOther = minQuantityOther;
			this.fOBPriceId = fOBPriceId;
			this.priceSmall = priceSmall;
			this.priceLarge = priceLarge;
			this.perTypeId = perTypeId;
			this.port = port;
			this.paymentTerms = paymentTerms;
			this.production = production;
			this.deliveryTime = deliveryTime;
			this.packagingDetail = packagingDetail;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long ProductId
		{
			get { return productId; }
			set { productId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Url
		{
			get { return url; }
			set { url = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Title
		{
			get { return title; }
			set { title = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string ProductDescription
		{
			get { return productDescription; }
			set { productDescription = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime CreatedDate
		{
			get { return createdDate; }
			set { createdDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime UpdatedDate
		{
			get { return updatedDate; }
			set { updatedDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MemberId
		{
			get { return memberId; }
			set { memberId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Order
		{
			get { return order; }
			set { order = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Image
		{
			get { return image; }
			set { image = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ThumbnailImage
		{
			get { return thumbnailImage; }
			set { thumbnailImage = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime EndDate
		{
			get { return endDate; }
			set { endDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatId
		{
			get { return catId; }
			set { catId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Viewed
		{
			get { return viewed; }
			set { viewed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long ObjectId
		{
			get { return objectId; }
			set { objectId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int StatusId
		{
			get { return statusId; }
			set { statusId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ActivateCode
		{
			get { return activateCode; }
			set { activateCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CountryId
		{
			get { return countryId; }
			set { countryId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string MinOrderQuantity
		{
			get { return minOrderQuantity; }
			set { minOrderQuantity = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long MinQuantityTypeId
		{
			get { return minQuantityTypeId; }
			set { minQuantityTypeId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string MinQuantityOther
		{
			get { return minQuantityOther; }
			set { minQuantityOther = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long FOBPriceId
		{
			get { return fOBPriceId; }
			set { fOBPriceId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varbinary</value>
		public byte[] PriceSmall
		{
			get { return priceSmall; }
			set { priceSmall = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varbinary</value>
		public byte[] PriceLarge
		{
			get { return priceLarge; }
			set { priceLarge = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long PerTypeId
		{
			get { return perTypeId; }
			set { perTypeId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Port
		{
			get { return port; }
			set { port = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string PaymentTerms
		{
			get { return paymentTerms; }
			set { paymentTerms = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Production
		{
			get { return production; }
			set { production = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string DeliveryTime
		{
			get { return deliveryTime; }
			set { deliveryTime = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string PackagingDetail
		{
			get { return packagingDetail; }
			set { packagingDetail = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum ProductSellColumns
	{
		ProductId,
		Url,
		Title,
		ProductDescription,
		Description,
		CreatedDate,
		UpdatedDate,
		MemberId,
		Order,
		Image,
		ThumbnailImage,
		EndDate,
		CatId,
		Viewed,
		ObjectId,
		StatusId,
		Enable,
		ActivateCode,
		CountryId,
		MinOrderQuantity,
		MinQuantityTypeId,
		MinQuantityOther,
		FOBPriceId,
		PriceSmall,
		PriceLarge,
		PerTypeId,
		Port,
		PaymentTerms,
		Production,
		DeliveryTime,
		PackagingDetail
	}//End enum
}